package cuit.epoch.pymjl.security.entity.dto;

import lombok.Data;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.Email;
import javax.validation.constraints.NotBlank;

/**
 * @author Pymjl
 * @version 1.0
 * @date 2022/8/20 17:42
 **/
@Data
public class UserDTOuserIdAnduseravatarUrl {
     @NotBlank(message = "学生id不能为空")
    private String username;

     @NotBlank(message = "用户头像不能为空")
    private byte[] avatar;

}
